package mysql

import "gorm.io/gorm"

type Record struct {
	gorm.Model
	Title      string `gorm:"type:varchar(30);not null;comment:标题"`
	Comment    string `gorm:"type:varchar(50);not null;comment:发布内容"`
	UserId     int64  `gorm:"type:int(11);not null;comment:用户Id"`
	ActivityId int64  `gorm:"type:int(11);not null;comment:活动Id"`
	ClassId    int64  `gorm:"type:int(11);not null;comment:分类Id"`
}
